<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>rem 布局方案</title>
        <style>
            * {
                margin: 0;
                padding: 0;
            }
            img {
                width: 100%;
            }
            html {
                /* font-size: 16px; */
                /* 算出16px等于多少vw: 100/750*16 */
                font-size: 2.1333vw;
            }
            .tabbar-layout {
                position: fixed;
                bottom: 0;
                left: 0;
                box-shadow: 0 -4px 4px rgba(0, 0, 0, 0.15);
                width: 46.875rem /* 750/16 */;
                height: 6rem /* 96/16 */;
            }
        </style>
    </head>
    <body>
        <div class="tabbar-layout">
            <img
                src="https://markdown-1253389072.cos.ap-nanjing.myqcloud.com/202112101446793.png"
                alt="标签栏"
            />
        </div>
    </body>
    
</html>
